package org.csu.onlineedubackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("student_course_danmaku")
public class StudentCourseDanmaku {
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @TableField("student_id")
    private Integer studentId;
    
    @TableField("lesson_id")
    private Integer lessonId;
    
    @TableField("content")
    private String content;
    
    @TableField("time_point")
    private Integer timePoint;
    
    @TableField("color")
    private String color;
    
    @TableField("font_size")
    private Integer fontSize;
    
    @TableField("created_at")
    private LocalDateTime createdAt;
    
    @TableField("status")
    private String status; // normal, hidden, deleted
}